'Declaration Public Function ApplyIconFilter( _ ByVal iconSet As FormatConditionIconSet, _ ByVal iconIndex As Nullable(Of Integer) _ ) As IconFilter
public IconFilter ApplyIconFilter( FormatConditionIconSet iconSet, Nullable<int> iconIndex )
Exception | Description |
---|---|
System.ArgumentException | If the icon set is not valid. |
System.ArgumentOutOfRangeException | If the index is less than zero or greater than or equal to the number of icons in the icon set.. |
System.InvalidOperationException | The WorksheetTable.IsFilterUIVisible value of the owning table is False. Filters cannot be applied when the header row or filter button is hidden. |
System.InvalidOperationException | If column was removed from the table. |
System.ComponentModel.InvalidEnumArgumentException | iconSet is not defined in the FormatConditionIconSet enumeration. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2